package lab02.test16;

public class Test {
    public static void main(String[] args) {
        Add add=new Add();
        add.A=12;
        add.B=3;
        System.out.println(add.getAdd());

        Reduce reduce=new Reduce();
        reduce.A=12;
        reduce.B=3;
        System.out.println(reduce.getReduce());

        Multiply multiply=new Multiply();
        multiply.A=12;
        multiply.B=3;
        System.out.println(multiply.getMultiply());

        Divide divide=new Divide();
        divide.A=12;
        divide.B=3;
        System.out.println(divide.getDivide());
    }
}
